build_type =
CONFIG(debug, debug|release) {
    build_type = debug
} else {
    build_type = release
}

win32-g++:{
    message("TmpFilePass Using win32-g++ configuration")
    TMPPATH = $$(TMP)/win32-g++
}

win32-msvc:{
    message("TmpFilePass Using win32-msvc configuration")
    TMPPATH = $$(TMP)/win32-msvc
}

unix:!mac:{
    message("TmpFilePass Using linux configuration")
    TMPPATH = /dev/shm/linux
}

MOC_DIR = $$TMPPATH/$$TARGET/$$build_type/moc
RCC_DIR = $$TMPPATH/$$TARGET/$$build_type/rcc
UI_DIR = $$TMPPATH/$$TARGET/$$build_type/ui
OBJECTS_DIR = $$TMPPATH/$$TARGET/$$build_type/obj

# install
target.path = $$build_type/Bin
